package com.dsx.config.shiro;

import org.apache.shiro.authc.AuthenticationToken;

/**
 * @author dsx
 * @date 2021/3/30 20:58
 * @since JDK1.8
 */
public class JwtToken implements AuthenticationToken {
    private String token;
    public JwtToken(String jwt){
        this.token=jwt;
    }
    
    @Override
    public Object getPrincipal() {
        return token;
    }

    @Override
    public Object getCredentials() {
        return token;
    }
}
